package br.com.ordersys.framework.db.config;

import br.com.ordersys.framework.db.metadata.TableMetadata;

public interface IMetadataProvider {
	int TENANCY_NONE_STRATEGY = 0;
	int TENANCY_DATABASE_STRATEGY = 1;
	int TENANCY_SCHEMA_STRATEGY = 2;
		
	int getTenancyStrategy();
	String getCurrentTenantId();
	String getMainTenantId();
	String getTenantAwareDataSourceName();
	String getMainDataSourceName();
	TableMetadata loadTableMetadata(String name);
}
